package com.github.data_manage.domain.vo

import java.math.BigDecimal

/**
 * 基金月度表现
 * @author chenhainan
 * @since 2024-08-14 15:54
 */
class YearMonthlyManifestation {

    // 年份
    var year: Int? = null

    // 月度表现
    var monthlyManifestation: List<MonthValueVo> = mutableListOf()

    // 年度 ytd
    var ytd: BigDecimal? = null

    // 对比指数的 ytd
    var contrastYtds: List<MonthValueVo> = emptyList()

}

data class FundYtdValueVo(
    val fundId: Int,
    val fundName: String,
    val yearInfo: List<YearMonthlyManifestation>
)

data class MonthValueVo(
    val month: String,
    val value: BigDecimal? = null,
)


